#include "Programmation.h"

Programmation::Programmation(): repairTurn(false), programmationSet(false)
{
	cards = 0;
}

Programmation::~Programmation()
{
}

void Programmation::SetCardGroup(const CardGroup& newCards)
{
	if(cards)
		delete cards;
	cards = new CardGroup(newCards);
}

const CardGroup& Programmation::GetCardGroup() const
{
	return (*cards);
}

void Programmation::SetRepairTurn()
{
	repairTurn = true;
}

void Programmation::SetProgrammationSet()
{
	programmationSet = true;
}

bool Programmation::IsRepairTurn() const
{
	return repairTurn;
}

bool Programmation::IsProgrammationSet() const
{
	return programmationSet;
}